/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package east2west.dto;

import java.io.Serializable;

/**
 *
 * @author nguyendat
 */
public class CarsDTO implements Serializable {
    private int carId;
    private String carName;
    private String detail;
    private int modelId;
    private int typeId;
    private byte airConditional;
    private int quantity;
    private int seatQty;
    private int seatQtyMax;
    private float price;
    private byte isDeleted;
    private CarTypesDTO typeDTO;
    private CarModelDTO modelDTO;
    private CarDetailDTO detailDTO;

    public CarsDTO() {
    }

    public CarsDTO(int carId, String carName, String detail, int modelId, int typeId, byte airConditional, int quantity, float price, byte isDeleted) {
        this.carId = carId;
        this.carName = carName;
        this.detail = detail;
        this.modelId = modelId;
        this.typeId = typeId;
        this.airConditional = airConditional;
        this.quantity = quantity;
        this.price = price;
        this.isDeleted = isDeleted;
    }

    /**
     * @return the carId
     */
    public int getCarId() {
        return carId;
    }

    /**
     * @param carId the carId to set
     */
    public void setCarId(int carId) {
        this.carId = carId;
    }

    /**
     * @return the carName
     */
    public String getCarName() {
        return carName;
    }

    /**
     * @param carName the carName to set
     */
    public void setCarName(String carName) {
        this.carName = carName;
    }

    /**
     * @return the detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * @param detail the detail to set
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * @return the modelId
     */
    public int getModelId() {
        return modelId;
    }

    /**
     * @param modelId the modelId to set
     */
    public void setModelId(int modelId) {
        this.modelId = modelId;
    }

    /**
     * @return the typeId
     */
    public int getTypeId() {
        return typeId;
    }

    /**
     * @param typeId the typeId to set
     */
    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    /**
     * @return the airConditional
     */
    public byte getAirConditional() {
        return airConditional;
    }

    /**
     * @param airConditional the airConditional to set
     */
    public void setAirConditional(byte airConditional) {
        this.airConditional = airConditional;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    /**
     * @return the price
     */
    public float getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(float price) {
        this.price = price;
    }

    /**
     * @return the isDeleted
     */
    public byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * @param isDeleted the isDeleted to set
     */
    public void setIsDeleted(byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * @return the typeDTO
     */
    public CarTypesDTO getTypeDTO() {
        return typeDTO;
    }

    /**
     * @param typeDTO the typeDTO to set
     */
    public void setTypeDTO(CarTypesDTO typeDTO) {
        this.typeDTO = typeDTO;
    }

    /**
     * @return the modelDTO
     */
    public CarModelDTO getModelDTO() {
        return modelDTO;
    }

    /**
     * @param modelDTO the modelDTO to set
     */
    public void setModelDTO(CarModelDTO modelDTO) {
        this.modelDTO = modelDTO;
    }

    /**
     * @return the detailDTO
     */
    public CarDetailDTO getDetailDTO() {
        return detailDTO;
    }

    /**
     * @param detailDTO the detailDTO to set
     */
    public void setDetailDTO(CarDetailDTO detailDTO) {
        this.detailDTO = detailDTO;
    }

    /**
     * @return the seatQty
     */
    public int getSeatQty() {
        return seatQty;
    }

    /**
     * @param seatQty the seatQty to set
     */
    public void setSeatQty(int seatQty) {
        this.seatQty = seatQty;
    }

    /**
     * @return the seatQtyMax
     */
    public int getSeatQtyMax() {
        return seatQtyMax;
    }

    /**
     * @param seatQtyMax the seatQtyMax to set
     */
    public void setSeatQtyMax(int seatQtyMax) {
        this.seatQtyMax = seatQtyMax;
    }
    

}
